package com.xdtech.hotel.service;

import java.util.List;

import com.xdtech.common.service.IBaseService;
import com.xdtech.hotel.model.HotelInfo;
import com.xdtech.hotel.vo.HotelInfoItem;

/**
 * 
 * @author max.zheng
 * @create 2015-04-04 11:00:12
 * @since 1.0
 * @see
 */
public interface HotelInfoService extends IBaseService<HotelInfo>{

	/**
	 * 保存更新信息
	 * @author max.zheng
	 * @create 2015-04-04 11:00:12
	 * @modified by
	 * @param item
	 * @return
	 */
	boolean saveOrUpdateHotelInfo(HotelInfoItem item);

	/**
	 * 加载记录信息
	 * @author max.zheng
	 * @create 2015-04-04 11:00:12
	 * @modified by
	 * @param newId
	 * @return
	 */
	HotelInfoItem loadHotelInfoItem(Long hotelInfoId);

	/**
	 * 根据id号删除记录信息
	 * @author max.zheng
	 * @create 2015-04-04 11:00:12
	 * @modified by
	 * @param id
	 * @return
	 */
	boolean deleteHotelInfoInfo(long id);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-04-04 11:00:12
	 * @modified by
	 * @param hotelInfoIds
	 */
	boolean deleteHotelInfoInfo(List<Long> hotelInfoIds);

	/**
	 * 加载酒店信息
	 * @author max.zheng
	 * @create 2015-4-5上午9:28:12
	 * @modified by
	 * @return
	 */
	HotelInfoItem loadOneHotelInfoItem();
}
